package org.csu.jpetstoreagain.persistence;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.csu.jpetstoreagain.domain.LineItem;

import javax.sound.sampled.Line;
import java.util.List;

@Mapper
public interface LineItemMapper extends BaseMapper<LineItem> {
    List<LineItem> getLineItemsByOrderId(int orderId);

    void insertLineItem(LineItem lineItem);
}
